import{ut as e}from"./B603vO-13smUKN.js";import{p as t}from"./BsMqS_8I4FRuz8.js";import{D as n,E as r,On as i,_ as a,b as o,k as s,mt as c,o as l,qt as u,tr as d,v as f,y as p}from"./CIxmKYxc4tZcJF.js";import"./DcwiUW8R1GKRvl.js";import{t as m}from"./DhtdLMWurC5tl.js";import{t as h}from"./DJeJfhW-4iv1Az.js";import{s as g}from"./BbxvatETxeTHf.js";var _=e(`integrations:grandtotal`);async function v(){_.warn(`syncGrandTotal: disabled during migration`)}var y={key:0},b=s({__name:`app-settings-grandtotal`,setup(e){let s=g();return(e,g)=>(c(),o(l,null,[a(`h3`,null,d(e.$t(`settings.grandtotal.title`)),1),i(s)?(c(),f(i(h),{key:0,title:e.$t(`settings.grandtotal.syncActionTitle`)},{default:u(()=>[n(i(m),{onClick:i(v)},{default:u(()=>[r(d(e.$t(`settings.grandtotal.syncNow`)),1)]),_:1},8,[`onClick`]),i(t).gtLastSync?(c(),o(`p`,y,d(e.$t(`settings.grandtotal.lastSync`,[new Date(i(t).gtLastSync).toLocaleString()])),1)):p(``,!0)]),_:1},8,[`title`])):p(``,!0)],64))}});export{b as default};